"""
自己设置的在运行后需要添加的配置信息
这里不是插件，不能率先调用Nonebot
"""
import os

def grobal_info_init():
    path_src = os.path.split(os.path.realpath(__file__))[0]
    path_bot = os.path.split(path_src)[0]
    path_root = os.path.split(path_bot)[0]
    path_cqhttp = path_root + "/go-cqhttp"

    # 以下是资源文件夹路径
    path_data = path_root + "/data"
    path_sexypict = path_data + "/sexypict"
    # 这里载入全局路径变量，方便后续插件的路径读取

    info_dict = dict({
        'path_src': path_src,
        'path_bot': path_bot,
        "path_root": path_root,
        "path_cqhttp": path_cqhttp,

        "path_data": path_data,
        "path_sexypict": path_sexypict
    })
    return info_dict


print("wlf_init 调用完毕")
